Change manifest api
Remove debug exception and unused import