fix import error and httpclient dependency

Fixed errors caused by broken import syntax and missing `httpclient` syntax