BUGFIX: enabled only in valid files