change links to pretty URLs - fix model