fix display compilation