fix misuse of quartz