Fixed the bugs related to CFF & merged to upstream

they come from automatic formatter