before unique edit input in cat