works when the field is initially hidden (for instance in an overlay).

+ pyflakes, pep8