Fix creating version array