removes style_period from image/show view