attempt to fix pretty urls