fix min booking sec check error