bug fix on visits/new