fix table <enter> and css classes for images