extra error checking 9 - fix syntax