fix error when User.current_user is Symbol