Fixed an issue where the SD slot is no longer checked correctly