fix incorrect pojo implementation retrieval