fix syntac errors