Fixed @wait command double duration bug