Fixed problem with pretty url links