check table exist before getOlderModel