make couple functions as nothrow