Fix constant erroring on startup