modify loader as core loader wont work cuz of jaxb