fixing months and device ids