fixed image display bug