fix for trailing commas on editors