bootf: bug fixed