optimize post word check