rename loader; fix issue; operate on buffer in mem