couple of minor emr improvements