fixed conditional tools building