fixed bug in  custom toolbox