fix some issues and improve performance of article loading
fix some minor issues in memory db after validations