potential bugfix for redirect due to missing trailing slashes