correct syntax errors, mainly needing quotes around item references