fixing up patient edit