fixed a potential NPE
reexport xbase to avoid ClassNotFoundErrors