limit type and visible changes
Revert "limit type and visible changes"

This reverts commit 7221aa1759ddae3018ee395a73bac46d700e3f3c.