removed RGBA check