fixed loading calendar issue