small bugfix for potential misconfiguration issue