fix lib import ordering