removes useless api method