Removed bad code from display