fix motion wait time