changed calllib and loadlibrary