fixed availability gap fixing for no data case