Minor changes to make post pages work