small fix to SSD_WRITE compatibility