tweak how callback url is handled to see if it works better in production