bug in setting extended attrs