fixed closig brance issue of ff.h