fix map dependencies