if seconds is not a number, try to convert it