Fix #1 get tablenames error