fixed build errors on new post