fix empty title + refresh bug