Revert "fixed add entity"

This reverts commit 03535f4a4ec27a68d93ffbd7679031d4d3543208.