adjustments to disp_cmd