fixed missing self in get_day