core: fix make function action