resolve error when deleting ir marker