fixed https://github.com/MetaModels/core/issues/681