check the ret val of touch