fixed confusing redirect