added form-replacement to PMs