Fix not create plist file bug