extra error checking 3 - fix syntax err