small fixes in md arrays