fix sd path, etc