fix package template (missing padding), only replace the block we change