Corrected ms to s conversion