Check settings['display'] is initialized as array in show().