fixing ES displaying pictures