replace some stuff