fixes for sub panels under panels