protecting tablename against to large queuenames