redirect in callback fixed