fixing get time hopefully