Fix: should have checked undefined method