fixed color detection for red