Atomic Add Problem Resolved