fix min parsing isse