fixed put/post returning not-null