troubles with SecondsToTimeStr function