fixed rgb bgr issue