fixed broken styles & finally fixed date output