Fixed issue with non pto redirect