Fixed bug in BF parser