use try to avoid error