fix datapicker templates