fixed bug in robot.rake