Fix to error

I am using the default config without any modification the collapse is prevented. This fixed it.