removed unrelated visibility changes