fixed bugs in fx3