Fix bug in attrs for linux