If I'm right you can also delete the function checkFiled in the controller