oops
check min/max before repeat/delete and prevent the action occurring