found the problem, taking out the checks