fixing the greayed boxes sizes