fix bug add elliptics