fix _granted attribute recognition