fixed syntax for a few lines