fix can_void method.