fix calling mdmr function

Signed-off-by: Zarrar Shehzad <czarrar@gmail.com>