remove root debug
better error messages