skip checking for models if $MODELS is empty