fixed typo in viewRGB