fixed static constructor in RgbX

#2