modify plist and function bug