prevent pan