fix core rest api get