fix editor and oauth