Fixed problem with trailing comma