fixing affy code