avoid OutOfBoundsException and break of format action, when marker positions are...