metadata: support shell 3.6