oauth crash issue fix