fix params hash for post action