turn off set -e around version check function invocation