fix uninit in present
handle -1 in avlblty[] properly