Fixing the CreateEntityFromTemplate

fixing a wrong method call