fixes typo on creating visit