fix rgba to rgb converter