saved middle point data fix

middle point data is saved as string and now is parsed back to int on
loading;