fixing metadata attribute