Few changes to utils

particularly color_gene