added threshold to color search to avoid unwanted results