Fix problem when user has unknown IP