fix mass assignment