avoid some undef warnings and weird results in GitHub