Fix the fatal error in display