Fix a bug: unmatched fp