fix call twice