Messing with emitting application tree