fix modify in/out time