Fixed some bugs

Fixed bug with drop tables, corrected exception in show tables