fixed negation bug in POST logic --KW