fixing pretty urls