fix window bugs
fix no set assign date problem