ensure we can not load a bad image