[fm] fix operation order (Fixes #191)