fixes folder redirection