fixed bad comma corrupting an array