fix for 256-colors terminal.