fix syntax and minor edit