fix redirect for creating task