fixed duplicate layers in overview
passing instance of logger around now