remove invalid options for build-flow type job