small change to event handler for removing player