correcting sytax error