Fix #1040: panic on start up

This line causes a compilation error!