bug fix for Draft posts