change the ok return to redirect