add unique counter to fix #350