Lesson 6: Fix redirect error