try_na function

modified tryCatch function