cast images fix