fix task link after validation failure
remove redirect code as it is no longer needed