fixing md