fixed picture display bug