fixing undef symbol