fixed issues with no oauth