fix infinite-loop on el-get error