fix refreshdate init