fix timeinair bug #521