Fixed "invoke twice"