- Fix crash at start
- Fix compatibility with sd2