fix problem of redirecting to lectorat thank you pages