rect bug