debugging resize