fix applicative tree cases