change minClose to a user specified number