fixed syntax bug