add redirect to improve the workflow