why mk_api may be NULL ?