minor bug fixed in fx2 code.