fix plist generation