Fixed get panel error.