Correcting rest controllers