correcting syntax errors that were causing errors in console