fix bug: use .. no ../..
remove unnecessary project setting
init control after add to tree
add debug button
remove no need check