try and fix redirection issue