Remove two warnings