fix can_display_foo to work with display_stack