fix syntax warnings
v1.0.1