fixed a bug when color() has only 1 argument