solve directory tree structure problem
correct some bug in api manifest