Do not fail when speed switching, but issue a warning
Use crate time instead of extra::time
Removed unnecessary parentheses