Fix the case when no table given