[improved] presets
[fixed] global variables in apps