fix dropdown on logout