fixed wrong id error , fixed cut error at insertCategorietree