fix filled attributes method