fix display bug with title and icon