fixed seconds conversion bug