Robots can read your mind to fix their mistakes