fix formatting bug for marked