availability bug fix