fix post metadata