fixing sntax errors