Fix : layer manager was broken