removing marker end