MesaLib: remove unnecessary replaces.