added try catch around evar