fix error with mass assigment fields