avoid unnecessary 301 redirect