changed the preg replace