motors dispose fix