fixed error on file load when there are no BPs in a file.