fixed avail viewing bug