fixed bug in controller
bug free app