fix rolling back a patched layer
fix layers misc files + add-ons