Avoiding undef warning