fixed bug where nonexistent entity not created when name not specified