bugfix for adaptive display