Correcting error message when creating new visits