remove a few java warnings