fix empty title or content in view