small fix for APC