fix the heart and visit operation.