minor bug fix in bin-file loading proc