fix the plist and add remove events loop