check model existence before instantiating