Fixing md bug