controller not working