key_commit: a few tweaks to the new fp functions