fixed phph error in the bones files in the bones related post function