modify conflict errors and bgcolor