fix VisitorLog is not working for users having magic quotes enabled