switched inner and outer box overflow