enable mode redirect