Fix creation of new entity values