Fixes for Halo changes

I have resolved some errors produced during the compilation