Remove unneeded display flags