fix: default server version can be null

check if version exists instead of creating [ null ] in certain situations