compatible for packer 0.3.6