improved post params, thanks to @nkratzke and @gilbertbw