no alert in _getWidth/_getHeight