added device check on start() and stop()