fixed trouble with time format