fixed missing brackets and quotes