fixed minor bug when loading colors