Bug fixes for remove event api call and for remove photo api call