Fix two warnings that show up recently