fix #80: Considering several layers with the same name