fixed wrong redirect, closes #12