fix redirect after direct transfer