fix bug of util-colored; add generator