blog function fixes and enhancements