fixes more strict error in build and hardcoded color array size