fixed availability bug in attrs