changed ban_type to host