fixing syntax err