fix double call check bug