Fixing viewer.