bug in table name getter