fix nant warnings