Bug with stopping motor fixed