small fix in load libs