remove unnecessary api method