avoid throwing exception for some common flow.