fixed a casting issue when ? types are not made explicit -- a Java8 think I'm told. @rjbriody  helped me Fixed #166 .