Error when content is empty fixed.