check typeof stop()