fix for empty posts;