bug fix: append did not work for BP format version 2
bug fix: append should add old variables into hashtable