simplify visible field
fixes and simplifications