bb to md fix