cut the valid attribute of user