resize boolean correction