remove unnecessary redirect