another fix for strange display issue