max width on panels
wasting time with error handling