fix min sec float issue