fix post data + tests