Fixed Undefined

- Attempted fix for undefined redirection error.