fixed edit event bugs and refined event view