fix entities in entity post not being saved