replace <T> to Object