Fixes for sdcards