correcting sytax issues