change format(long) to format(Object)