updated glia, fix compliation problems