redirecton logic bug fix
Merge pull request #69 from taylorzr/bug-fix

redirecton logic bug fix