fixing controllers