Fixed the == 14  bug in replace