bug fix on the registrations controller - kinda hackey but it works