Fix #27 redirect fail