cleanup ROOTS from custom and make it work