fix syntax error (missing closing brace)
fix bug where list would blow up if an instance name was malformed