only parse ms if it's a string