fixed part of the style issue of showing image