tableAvailableCheck function split from indexAction