add compatibility between spaces and page widget