--vill_id was used before init..added a try catch and modified the error