fix pretty urls