fix display initialization