some small fix and BOM Plan report