Fix insight deprecated warning