Fixed configcheck (we're using globals here).