check guard for all extensions. resolves #241.