small fix on popup duplicate