fixed assigning to user