new features for hosting

fix compatibility for hosting service