fix active_user bug