fixed #465, should redirect to proper location now