SDL fix