Replace undef version with 0