fixed use of slug instead of title for post url