Fixed color issues in terminal.