Fixed api instance to invoked by execute()