fixed table name in meta and undefeined index in nav