fixes tooltips and image gallary