fixed tree and some other things
fix in editpost