Fix Simple_ondemand crashing on startup