bugfix - put into core some previously external function