Pretty urls fix