Fix method check