Fix for hl mode in terminal