Fix to nano to milli conversion