fix datepixer and some layout