Bug in edit

Bug where number selected is bigger than tempStorage size