fixed a bug where tools isnt created