replace unnecessary