fr: fix build error, use string instead of char