got rid of redirect loop for 404