strip weird "f" at BOF