Fixed bugs and visits