fix '{...}' deprecation warnings