fix posts with space in names

posts with spaces in the name should now load post page