fix redirect on save