change build/helper_func.sh for self-handle options error