fix mongo reading as int at 0