fixed bugs in entityproposal