fix fileset and plain type