fixed some bugs and date input style