more attemts to track down err thrown 'PurpleRobot not defined'