method check bug fix