fix mass assign