fix deadline init problem