fix bug, and rm console