BUG Fix MDS

I wonder whether it always misfired like this