clean up lua libraries