fix if block configuration is empty