Fix long attribute in dgs