Fixes #124.
Merge pull request #125 from frmwrk123/fix/redirect

Fixes #124.