Might fix problems with redirects