Markers list fix

Fixes #1022 and build error caused by last version.