removing visibility and adding number fixes #6550