fix for no table present