readded the redirect to solve loading issue