fixed POST to optional and requered params