fixes for ext sd