Fixed undef initialization