fixing dynamic maps