fix for invalid configuration