fix the color bug

unfortunately this requires a implementation file