Bugfix for loop marker