Fix missing quotes and an index