fixing day issue, now using the day from json