fixed redirect issue
travis issue