fixed bug which overwrites default datetime delegate