fix osid bug