Fixed delete and post event problems