Fix redirect after new thread