Fix for oauth window