fix external imports