fix oauth loading