Some tricks while solving magnetism problems