clean template setup