Fix lant warnings