fixed weird thing in controller