Addressing popup error from LayoutManager