fixing image template