removing extra redirect