PHP: edit redundant word