fixing the issue with custom node fields for showing/hiding page elements