updating error statement, missing trailing quote