fixed missing key_attr
fixed unspecified filename while loading data + unordered base emission fields