remove unnecessary api private