fix: no need to check segment type.
add: function usher_remove_segment has been added.