remove mass_assignment and check params