fix bug, turn off debug