cleaned up some of the minor java warnings