Prevent load of undefined model