prettifying urls and fixing form partial