add missing api and core vars