panic fixes