[tempo] fix delay_ms methods