fixed some bugs, add default ebin path for import app process.