fixed small date type selection bug