(bluefox) replace enum edit with tree