wrap eval in tryCatch