fixed removing api in minified file