fix diamond counter withdrawal