fix syntax checker