make inputs stricter in backend to trace potential complete flush issue