fixed a problem with adding a non-list entity to a list