modify table name case and ignore tmp files