small fix to stop function
minor compatibility fix
Merge branch 'master' of github.com:Naukyo/miniSpect