Fixed problem obtaining callbackURL