Fix small issue with redirect application