fix 500 error when no versions are returned