fixed findOne looking in wrong table