fixing visibility tests, skip check, and removing local copy count