generic fix as per
http://stackoverflow.com/questions/4829576/javac-error-inconvertible-types-with-generics