fixed bug: colors array wasn't big enough