fixed the overflow issue with the extra button but now I had to revert back to non-replacement when a duplicate is found. the next commit will have this fixed