fixed black image error