after adding back text_page, fixing paintings to display if db empty