fixed some initial display logic