fixed a bug in start()