Fix start and stop by console

sry my fault