fix undef content