bug fixing in FM analyses