replacing input post