Error checking for mote creation