[gavin] fixed sd card methods