fix a weird oauth problem