fix deploy to redirect to homepage