fixed popup title issue with long title