Fix two small warnings