debug enabled. fixed bug where SET_ILIM wasn't disabling the function call