fix syntax and typo, thans @ShawnMilo