fix quartz errors