modify build_opt