fix old_version parsing