fix the rest import error & update the rest usage