fix postfield logic,make it easy to use