Fixed retrieving content from DB