fixing warnings - new kMaxDisplays definition