fixing c99 and remove dequant