fix redirect logic for review task