james | fixed a random error in the visits controller