fix all the find assertion in the controllers