fix #1099 add support for pre/post/dist to span not query