fix a couple of reflection warnings